SCOPE: kstest2 extended to allow censoring

Extends Matlab 2-sample Kolmogorov-Smirnov test to test "censored" survival data

You are now following this Submission

This download should include this code, a randomly generated excel data file for testing purposes, and the example output.
%This program expects to have at least three excel columns 1. follow up time and 2. failure indicator (1=failure has occured and 0=no failure has occurred and 3.predictor (1=present, 0=absent).
A randomly generated excel data file example is included for testing.

Type this at the command line to run: [h,p,k]= xlsSeerComputeSurvivalFuntionKSTest2('survivalPreditorsTestData.xls')

Cite As

Rex Cheung (2026). SCOPE: kstest2 extended to allow censoring (https://www.mathworks.com/matlabcentral/fileexchange/39012-scope-kstest2-extended-to-allow-censoring), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0